﻿using Avalon.Core.Providers;
using System.Web.Mvc;

namespace Avalon.Core.MVC {
    public class BaseEntityController : Controller {
        protected override IActionInvoker CreateActionInvoker() {
            IActionProvider provider = ProviderContainer.Current.ActionProvider;
            return provider.GetActionDescriptor().ActionInvoker;
        }
    }
}
